package fr.lox.fall.common;

import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;

public class HUD {
	
	private Texture _start;
	private Boolean _startVisible = true;
	
	public HUD()
	{
		this._start = new Texture(Gdx.files.internal("images/hud/start.png"));
	}
	
	public void update()
	{
		/*if (_startVisible)
		{*/
			if (Gdx.input.isTouched())
			{
				this._startVisible = false;
			}
		//}
	}
	
	public void draw(SpriteBatch batch)
	{
		if (_startVisible)
			batch.draw(this._start, 0, Gdx.graphics.getHeight() / 3f, Gdx.graphics.getWidth(),  Gdx.graphics.getWidth() / 2);
	}

}
